package com.gxitsky.plugin.service.impl;

import com.gxitsky.plugin.model.TestRequest;
import com.gxitsky.plugin.model.TestResponse;
import com.gxitsky.plugin.service.TestService;
import org.springframework.stereotype.Service;

/**
 * @author gxing
 * @desc TODO
 * @date 2022/1/6
 */
@Service
public class TestServiceImpl implements TestService {

    @Override
    public void test1(TestRequest request, TestResponse response) {
        System.out.println("3:" + Thread.currentThread().getName());
        response.setAge(request.getAge());
        response.setName(request.getName());
    }
}
